MessageSearchHeaderComponent

open class MessageSearchHeaderComponent

This class creates and performs a view corresponding the message search header area in Sendbird UIKit. since 3.0.0

Constructors

Link copied to clipboard
open fun MessageSearchHeaderComponent()
Constructor since 3.0.

Types

Link copied to clipboard
open class Params
A collection of parameters, which can be applied to a default View.

Functions

Link copied to clipboard
open fun getRootView(): View
Returns the view created by onCreateView.
Link copied to clipboard
protected open fun onClearButtonClicked(@NonNull view: View)
Called when the clear button related to the input is clicked.
Link copied to clipboard
open fun onCreateView(    @NonNull context: Context,     @NonNull inflater: LayoutInflater,     @NonNull parent: ViewGroup,     @Nullable args: Bundle): View
Called after the component was created to make views.
Link copied to clipboard
protected open fun onInputTextChanged(    @NonNull s: CharSequence,     start: Int,     before: Int,     count: Int)
Called when the input text is changed.
Link copied to clipboard
protected open fun onSearchRequested(@NonNull keyword: String)
Called when the user requests to search messages.
Link copied to clipboard
open fun setOnClearButtonClickListener(@Nullable clearButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the clear button related to the input is clicked.
Link copied to clipboard
open fun setOnInputTextChangedListener(@Nullable textChangedListener: OnInputTextChangedListener)
Register a callback to be invoked when the input text is changed.
Link copied to clipboard
open fun setOnSearchEventListener(@Nullable searchEventListener: OnSearchEventListener)
Register a callback to be invoked when the user requests to search messages.

Properties

Link copied to clipboard
val params: MessageSearchHeaderComponent.Params